import { Rule, RuleType } from '@midwayjs/validate';


export class MyLoginDTO {
    @Rule(RuleType.string().required())
    username: string;
    @Rule(RuleType.string().required())
    password: string;
}

export class MyLoginVO {
    token: string;

}
